<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
</head>
<body>

<script src="/angular.js/angular/angular.min.js"></script>

<div ng-app="myApp" ng-controller="customersCtrl">

    <table>
        <tr ng-repeat="x in names">
            <td>{{ x.Name }}</td>
            <td>{{ x.Country }}</td>
        </tr>
    </table>

</div>

<script>
    var app = angular.module('myApp', []);
    app.controller('customersCtrl', function($scope, $http) {
        $http.get("http://localhost:8000/api/url_analyze/get_assigned_url/?key=59f15f45-fff3-48d2-82dd-388ecc5626cf&url=www.baidu.com")
                .success(function (response)
                {
                    console.log(response.msg)
                    alert(response.charts)
                });
    });
</script>


<p>该实例演示了 ng-options 指令的使用。</p>

</body>
</html>


